<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="数据日志" name="first">
      <LoggerData/>
    </el-tab-pane>
    <el-tab-pane label="业务日志" name="second">
      <LoggerWork/>
    </el-tab-pane>
  </el-tabs>
</template>

<script>

import LoggerData from "./LoggerData";
import LoggerWork from "./LoggerWork";

export default {
  components: {LoggerWork, LoggerData},
  data() {
    return {
      activeName: 'first'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};

</script>

<style lang="less" scoped>

</style>